package com.prs.crm.service.cqunicom;

import java.util.List;

import com.prs.crm.domain.cqunicom.Services;
import com.prs.crm.domain.cqunicom.ServicesType;

import com.prs.crm.service.BaseService;
/**
 * @author  WangTing
 *
 * 创建时间：2011-3-4 
 * 
 */

public interface ServicesService extends BaseService<Services> {
	
	public List<Services> getAllServices();
	public List<Services> getServicesBytype(String types);
	/**
	 * 根据类别查找名称
	 */
	List<Services>  getByStyle(ServicesType servicesType);
	List<Services>  getByWorkPattern(String workPattern);
	
	/**
	 * 根据简写查找
	 */
	List<Services>  getBySheet(String sheets);
	/**
	 * 业务短信消息
	 */
	List<Services> getByall();
	/**
	 * 修改
	 */
	void saveOrUpservices(Services s);
}
